<!-- File: /app/View/Homes/index.ctp -->

<div class="text">
	<h1>New Champion: <?php echo $champions['Champion']['champion_name']?></h1>
<div id="images">
    <div class="art">
<?php echo $this->Html->link($this->Html->image('../files/'.$champions['Champion'][0]['file_name'], 
                                      array("alt" => __('View'), "title" => __('View'),"width" => __('520'))),
                                      array('action' => 'view', $champions['Champion']['id']),
                                      array('escape' => false));
?>
    <iframe width="530" height="300" src="<?php echo $champions['Champion'][1]['url']?>" frameborder="0" allowfullscreen></iframe>
    		<div class="art_information">
					<p><?php echo $this->Html->link('Lista de Game Play', array('controller'=>'videos', 'action' => 'view', $champions['Champion']['id'])); ?></p>
					<p>Tutoriais:<a href="#">Tutorial 1</a></p>
				</div>
		</div>
        </div>

	<h1>Champion Rotation</h1>
	<div id="images">
	
		<!--coluna esquerda -->
		<div id="image_left">
			<?php
                            foreach($printRL as $rl)
                                echo $rl;
                        ?>			
		</div>
		
		<!--coluna direita -->
		<div id="image_right">
			<?php
                            foreach($printRR as $rr)
                                echo $rr;
                        ?>
		</div>
			<div class="clear"></div>
	</div>
	
	
</div>